joystickSocket: joystickSocket.cpp arduino.cpp scara.cpp omni.cpp sensors.cpp serial.cpp
	g++ -Os -o joystickSocket omni.cpp sensors.cpp serial.cpp joystickSocket.cpp arduino.cpp scara.cpp


joystickScara: joystickScara.cpp arduino.cpp scara.cpp omni.cpp sensors.cpp serial.cpp
	g++ -Os -o joystickScara `pkg-config opencv --cflags --libs` omni.cpp sensors.cpp serial.cpp joystickScara.cpp arduino.cpp scara.cpp -lpthread

main: main.cpp arduino.cpp scara.cpp omni.cpp sensors.cpp serial.cpp
	g++ -Os -o main `pkg-config opencv --cflags --libs` omni.cpp sensors.cpp serial.cpp main.cpp arduino.cpp scara.cpp -lpthread

